{% extends "blog/blog.html" %}
{% load string %}
{% load i18n %} 

{% block content %}

<form action="{% url ytcommunity.blog.view.blog.add %}" method="POST">
    <div class="fieldWrapper">
        {{ form.title.errors }}
        <label for="id_title">{% trans "Title" %}:</label><br>
        {{ form.title }}
    </div>
    <div class="fieldWrapper">
        {{ form.tags.errors }}
        <label for="id_tags">{% trans "Tags" %}:</label><br>
        {{ form.tags }}
    </div>
    <div class="fieldWrapper">
        {{ form.content.errors }}
        <label for="id_content">{% trans "Content" %}:</label><br>
        {{ form.content }}
    </div>
    <p><input type="submit" class="button" value="{% trans 'Submit' %}" /></p>
</form>
  
{% endblock %}
